package JSE_02.HashCode.demo01;

import com.sun.security.jgss.GSSUtil;

public class HashCode {
    public static void main(String[] args) {
        Person p=new Person();
        System.out.println(p);
        System.out.println(p.hashCode());

        System.out.println("=========");
        String s_00=new String("abc");
        System.out.println(s_00.hashCode());

        String s_01=new String("abc");
        System.out.println(s_00.hashCode());


        System.out.println("=========");
        System.out.println(s_00.toString());
        System.out.println(s_01.toString());
        System.out.println("=========");
        System.out.println("重地".hashCode());
        System.out.println("通话".hashCode());

        System.out.println("重地".equals("通话"));

    }

}
